package com.bcu.calculus.mapper;

import com.bcu.calculus.entity.Tlist;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TlistMapper {
    int deleteByPrimaryKey(String tlistId);

    int insert(Tlist record);

    int insertSelective(Tlist record);

    Tlist selectByPrimaryKey(String tlistId);

    List<Tlist> selectAll();

    int updateByPrimaryKeySelective(Tlist record);

    int updateByPrimaryKey(Tlist record);

    List<Tlist> getTlistBySlistId(String SlistId);

    List<Tlist> getTlistByUserType(String userType);

    List<Tlist> getTlistByuerTypeAndSlistId(@Param("userType")String userType, @Param("slistId")String slistId);

    List<String> getSlistIdByUserType(String userType);

    List<Tlist> getSlistIdByType(Integer type);
}